package com.wkbb.sports.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.wkbb.sports.model.StudentOnlineHall;
import com.wkbb.sports.model.StudentOnlineRoomStu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;

//房间数据
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StudentOnlineRoomDto implements Serializable {
    @ApiModelProperty(value = "编号")
    private Long id;
    @ApiModelProperty(value = "状态 0关闭 1开启 2运动中")
    private Integer state;
    @ApiModelProperty(value = "玩家人数")
    private Integer playerNum;
    @ApiModelProperty(value = "学生编号")
    private Long studentId;
    @ApiModelProperty(value = "学生姓名")
    private String studentName;
    @ApiModelProperty(value = "跳绳速度平均记录（/分钟）")
    private Integer avgAMinuteCount;
    @ApiModelProperty(value = "头像")
    private String headImgUrl;

}